#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
#include"RecDown.cpp"

node_t* differ(node_t* n, char arg[]);
node_t* copyTree(node_t* n);
int optimizeTree(node_t* n, FILE* f, FILE* f_treep);
    int deleteConstant(node_t* n, FILE* f, node_t* root, char** phrases, int amount);
double calculate(node_t* n);
int amountOfVariables(node_t* n);
